package com.aaa.hospital.mapper;

import com.aaa.hospital.pojo.domain.Dept;
import com.aaa.hospital.pojo.query.DeptQuery;

import java.util.List;

/**
 * @Author: HJT
 * @DateTime: 2022/1/15 12:55
 * @Description: TODO
 */
public interface DeptMapper {
    List<Dept> queryDept(DeptQuery query);

    Long queryDeptTotal(DeptQuery query);

    int addDept(Dept dept);

    int deleteDept(Integer id);

    Dept getDept(Integer id);

    int updateDept(Dept dept);

    List<Dept> listDept();
}
